package org.dtrd.modules.record.entity.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class DtrdEntRdSportRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DtrdEntRdSportRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andDataIdIsNull() {
            addCriterion("data_id is null");
            return (Criteria) this;
        }

        public Criteria andDataIdIsNotNull() {
            addCriterion("data_id is not null");
            return (Criteria) this;
        }

        public Criteria andDataIdEqualTo(Integer value) {
            addCriterion("data_id =", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotEqualTo(Integer value) {
            addCriterion("data_id <>", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdGreaterThan(Integer value) {
            addCriterion("data_id >", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("data_id >=", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLessThan(Integer value) {
            addCriterion("data_id <", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("data_id <=", value, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdIn(List<Integer> values) {
            addCriterion("data_id in", values, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotIn(List<Integer> values) {
            addCriterion("data_id not in", values, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdBetween(Integer value1, Integer value2) {
            addCriterion("data_id between", value1, value2, "dataId");
            return (Criteria) this;
        }

        public Criteria andDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("data_id not between", value1, value2, "dataId");
            return (Criteria) this;
        }

        public Criteria andPatientIdIsNull() {
            addCriterion("patient_id is null");
            return (Criteria) this;
        }

        public Criteria andPatientIdIsNotNull() {
            addCriterion("patient_id is not null");
            return (Criteria) this;
        }

        public Criteria andPatientIdEqualTo(Integer value) {
            addCriterion("patient_id =", value, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdNotEqualTo(Integer value) {
            addCriterion("patient_id <>", value, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdGreaterThan(Integer value) {
            addCriterion("patient_id >", value, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("patient_id >=", value, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdLessThan(Integer value) {
            addCriterion("patient_id <", value, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdLessThanOrEqualTo(Integer value) {
            addCriterion("patient_id <=", value, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdIn(List<Integer> values) {
            addCriterion("patient_id in", values, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdNotIn(List<Integer> values) {
            addCriterion("patient_id not in", values, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdBetween(Integer value1, Integer value2) {
            addCriterion("patient_id between", value1, value2, "patientId");
            return (Criteria) this;
        }

        public Criteria andPatientIdNotBetween(Integer value1, Integer value2) {
            addCriterion("patient_id not between", value1, value2, "patientId");
            return (Criteria) this;
        }

        public Criteria andRecordDateIsNull() {
            addCriterion("record_date is null");
            return (Criteria) this;
        }

        public Criteria andRecordDateIsNotNull() {
            addCriterion("record_date is not null");
            return (Criteria) this;
        }

        public Criteria andRecordDateEqualTo(Date value) {
            addCriterionForJDBCDate("record_date =", value, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("record_date <>", value, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateGreaterThan(Date value) {
            addCriterionForJDBCDate("record_date >", value, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("record_date >=", value, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateLessThan(Date value) {
            addCriterionForJDBCDate("record_date <", value, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("record_date <=", value, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateIn(List<Date> values) {
            addCriterionForJDBCDate("record_date in", values, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("record_date not in", values, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("record_date between", value1, value2, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("record_date not between", value1, value2, "recordDate");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNull() {
            addCriterion("record_time is null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNotNull() {
            addCriterion("record_time is not null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeEqualTo(Date value) {
            addCriterion("record_time =", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotEqualTo(Date value) {
            addCriterion("record_time <>", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThan(Date value) {
            addCriterion("record_time >", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("record_time >=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThan(Date value) {
            addCriterion("record_time <", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThanOrEqualTo(Date value) {
            addCriterion("record_time <=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIn(List<Date> values) {
            addCriterion("record_time in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotIn(List<Date> values) {
            addCriterion("record_time not in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeBetween(Date value1, Date value2) {
            addCriterion("record_time between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotBetween(Date value1, Date value2) {
            addCriterion("record_time not between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepIsNull() {
            addCriterion("sport_record_step is null");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepIsNotNull() {
            addCriterion("sport_record_step is not null");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepEqualTo(Integer value) {
            addCriterion("sport_record_step =", value, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepNotEqualTo(Integer value) {
            addCriterion("sport_record_step <>", value, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepGreaterThan(Integer value) {
            addCriterion("sport_record_step >", value, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepGreaterThanOrEqualTo(Integer value) {
            addCriterion("sport_record_step >=", value, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepLessThan(Integer value) {
            addCriterion("sport_record_step <", value, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepLessThanOrEqualTo(Integer value) {
            addCriterion("sport_record_step <=", value, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepIn(List<Integer> values) {
            addCriterion("sport_record_step in", values, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepNotIn(List<Integer> values) {
            addCriterion("sport_record_step not in", values, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepBetween(Integer value1, Integer value2) {
            addCriterion("sport_record_step between", value1, value2, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordStepNotBetween(Integer value1, Integer value2) {
            addCriterion("sport_record_step not between", value1, value2, "sportRecordStep");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeIsNull() {
            addCriterion("sport_record_steptype is null");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeIsNotNull() {
            addCriterion("sport_record_steptype is not null");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeEqualTo(Integer value) {
            addCriterion("sport_record_steptype =", value, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeNotEqualTo(Integer value) {
            addCriterion("sport_record_steptype <>", value, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeGreaterThan(Integer value) {
            addCriterion("sport_record_steptype >", value, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("sport_record_steptype >=", value, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeLessThan(Integer value) {
            addCriterion("sport_record_steptype <", value, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeLessThanOrEqualTo(Integer value) {
            addCriterion("sport_record_steptype <=", value, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeIn(List<Integer> values) {
            addCriterion("sport_record_steptype in", values, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeNotIn(List<Integer> values) {
            addCriterion("sport_record_steptype not in", values, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeBetween(Integer value1, Integer value2) {
            addCriterion("sport_record_steptype between", value1, value2, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordSteptypeNotBetween(Integer value1, Integer value2) {
            addCriterion("sport_record_steptype not between", value1, value2, "sportRecordSteptype");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeIsNull() {
            addCriterion("sport_record_power_describe is null");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeIsNotNull() {
            addCriterion("sport_record_power_describe is not null");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeEqualTo(String value) {
            addCriterion("sport_record_power_describe =", value, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeNotEqualTo(String value) {
            addCriterion("sport_record_power_describe <>", value, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeGreaterThan(String value) {
            addCriterion("sport_record_power_describe >", value, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("sport_record_power_describe >=", value, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeLessThan(String value) {
            addCriterion("sport_record_power_describe <", value, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeLessThanOrEqualTo(String value) {
            addCriterion("sport_record_power_describe <=", value, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeLike(String value) {
            addCriterion("sport_record_power_describe like", value, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeNotLike(String value) {
            addCriterion("sport_record_power_describe not like", value, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeIn(List<String> values) {
            addCriterion("sport_record_power_describe in", values, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeNotIn(List<String> values) {
            addCriterion("sport_record_power_describe not in", values, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeBetween(String value1, String value2) {
            addCriterion("sport_record_power_describe between", value1, value2, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordPowerDescribeNotBetween(String value1, String value2) {
            addCriterion("sport_record_power_describe not between", value1, value2, "sportRecordPowerDescribe");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkIsNull() {
            addCriterion("sport_record_remark is null");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkIsNotNull() {
            addCriterion("sport_record_remark is not null");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkEqualTo(String value) {
            addCriterion("sport_record_remark =", value, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkNotEqualTo(String value) {
            addCriterion("sport_record_remark <>", value, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkGreaterThan(String value) {
            addCriterion("sport_record_remark >", value, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("sport_record_remark >=", value, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkLessThan(String value) {
            addCriterion("sport_record_remark <", value, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkLessThanOrEqualTo(String value) {
            addCriterion("sport_record_remark <=", value, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkLike(String value) {
            addCriterion("sport_record_remark like", value, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkNotLike(String value) {
            addCriterion("sport_record_remark not like", value, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkIn(List<String> values) {
            addCriterion("sport_record_remark in", values, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkNotIn(List<String> values) {
            addCriterion("sport_record_remark not in", values, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkBetween(String value1, String value2) {
            addCriterion("sport_record_remark between", value1, value2, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andSportRecordRemarkNotBetween(String value1, String value2) {
            addCriterion("sport_record_remark not between", value1, value2, "sportRecordRemark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(Integer value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(Integer value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(Integer value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(Integer value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(Integer value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<Integer> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<Integer> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(Integer value1, Integer value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(Integer value1, Integer value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}